function validateForm(){
    var message = "";
    if(code.value == ""){
        message = "Ingrese el codigo" ;        
    }else if(description.value == ""){
        message = "Ingrse la description";
    }else if(CboNetwork.value == ""){
         message = "Seleccione la red";
    } else{
        document.getElementById("form").submit(); 
        return false ;
    }
    
    document.getElementById("bodyMessage").innerHTML = message; 
}

function confirmDelete(record){
    
    $('#id').val(record);  
}

function submitDelete(){
 
    document.getElementById("form").action = 'delete?id='+$('#id').val()+"&module="+$('#module').val();
    document.getElementById("form").submit();  
}

